//
//  VClipIndicatorView.h
//  VChatVideoClip
//
//  Created by huangbolun on 2017/10/9.
//  Copyright © 2017年 huangbolun. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <Photos/Photos.h>

@protocol VClipIndicatorViewDelegate<NSObject>

@optional
- (void)onIndicatorChanged:(CGFloat)value isLeft:(BOOL)isLeft;

- (void)onIndicatorEndWithLeft:(CGFloat)leftValue right:(CGFloat)rightValue;

- (void)onSelectImage:(UIImage *)image;

@end

@interface VClipIndicatorView : UIView

@property(nonatomic, weak) id <VClipIndicatorViewDelegate> delegate;

@property(nonatomic, strong) AVAsset *asset;

@property (nonatomic, assign) BOOL isSelectCover;

@end
